package com.hakim.wfb.customer.service;


import com.hakim.wfb.customer.params.goods.CheckUserInvestingParameter;
import com.hakim.wfb.customer.result.goods.CheckUserInvestingView;
import com.hakim.wfb.customer.result.goods.GoodsListView;
import com.hkfs.fundamental.api.data.ListResultEx;
import com.hkfs.fundamental.api.data.ObjectResultEx;
import com.hkfs.fundamental.api.data.ResultEx;

/**
 * Created by lenovo on 2017/7/4.
 */
public interface GoodsService {

    ListResultEx<GoodsListView> list();

    ResultEx addChart(String goodsid, String userid);

    ResultEx deleChart(String purchaseid, String userid);

    /**
     * 用户是否投资中
     *
     * @param parameter
     * @return
     */
    ObjectResultEx<CheckUserInvestingView> checkInvest(CheckUserInvestingParameter parameter);
}
